<template>
    <div>
        金币商城
        <button @click="goHasNav">进入hasNav页面</button>
    </div>
</template>
<script>
export default {
    methods: {
        goHasNav() {
            this.$router.push({
                path: '/hasNav/2'
            })
        }
    }
}
</script>